package com.dream.model.DTO.roleDto;

import java.io.Serializable;
import com.dream.commons.utils.JsonUtils;


/**
 * 
 * @description：RoleDto
 * @author zhouy
 * @date 2018-2-26
 */
public class RoleDto implements Serializable {
	private static final long serialVersionUID = 1L;
	
	private Long id;
	
	private String name;
	
	private String description;
	
	private String[] menus;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	public String[] getMenus() {
		return menus;
	}

	public void setMenus(String[] menus) {
		this.menus = menus;
	}

	@Override
	public String toString() {
		return JsonUtils.toJson(this);
	}
}